package com.git.repository;

import java.util.List;

import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;

import com.git.domain.Book;

public interface BookRepository extends ElasticsearchRepository<Book, Integer>{
	List<Book> findByType(String type);

	List<Book> findByContext(String context);
}
